import { Swipe, SwipeItem, Tab, Tabs, Pagination, NavBar, List, PullRefresh, Empty, Field, Cell , CellGroup, Dialog, Toast } from 'vant'

const vant = {
    install: function(Vue) {
        Vue.use(Swipe)
        Vue.use(SwipeItem)
        Vue.use(Tab)
        Vue.use(Tabs)
        Vue.use(Pagination)
        Vue.use(NavBar)
        Vue.use(List)
        Vue.use(PullRefresh)
        Vue.use(Empty)
        Vue.use(Field)
        Vue.use(Cell)
        Vue.use(CellGroup)
        Vue.use(Dialog)
        Vue.use(Toast)
    }
}

export default vant